package com.hhsjdesign.dynamicui.interfaces

import com.hhsjdesign.dynamicui.businessdata.BaseModel


/**
 * 数据请求转换模型
 */
interface RequestListener<T> {

    fun onRequestSuccess(requestId: String, result: BaseModel<T>)

    fun onRequestFail(requestId: String, resultCode: Int, resultMessage: String)

}